package org.kyw.auth.mapper;

import org.kyw.auth.domain.Permission;

import java.util.List;

public interface PermissionMapper {
    /**
     * 查询一二级权限树
     * @return
     */
    List<Permission> loadOneAndTwoTree();

    /**
     * 通过员工id查询权限
     * @param id
     * @return
     */
    List<String> loadPermissionUrlsByEmpId(Long id);

    List<String> loadAllUrls();
}
